.class Lcom/instagram/android/b/c;
.super Lcom/fasterxml/jackson/databind/ser/std/StdSerializer;
.source "AnalyticsSessionSerializer.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/fasterxml/jackson/databind/ser/std/StdSerializer",
        "<",
        "Lcom/instagram/android/b/b;",
        ">;"
    }
.end annotation


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 16
    const-class v0, Lcom/instagram/android/b/b;

    invoke-direct {p0, v0}, Lcom/fasterxml/jackson/databind/ser/std/StdSerializer;-><init>(Ljava/lang/Class;)V

    .line 17
    return-void
.end method


# virtual methods
.method public a(Lcom/instagram/android/b/b;Lcom/fasterxml/jackson/a/h;Lcom/fasterxml/jackson/databind/SerializerProvider;)V
    .locals 3
    .parameter
    .parameter
    .parameter

    .prologue
    .line 22
    invoke-virtual {p2}, Lcom/fasterxml/jackson/a/h;->writeStartObject()V

    .line 24
    const-string v0, "seq"

    invoke-virtual {p1}, Lcom/instagram/android/b/b;->d()I

    move-result v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeNumberField(Ljava/lang/String;I)V

    .line 25
    const-string v0, "time"

    invoke-virtual {p1}, Lcom/instagram/android/b/b;->e()J

    move-result-wide v1

    invoke-static {v1, v2}, Lcom/instagram/android/b/f;->a(J)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeStringField(Ljava/lang/String;Ljava/lang/String;)V

    .line 26
    const-string v0, "app_id"

    invoke-virtual {p1}, Lcom/instagram/android/b/b;->h()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeStringField(Ljava/lang/String;Ljava/lang/String;)V

    .line 27
    const-string v0, "app_ver"

    invoke-virtual {p1}, Lcom/instagram/android/b/b;->g()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeStringField(Ljava/lang/String;Ljava/lang/String;)V

    .line 28
    const-string v0, "build_num"

    invoke-virtual {p1}, Lcom/instagram/android/b/b;->j()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeStringField(Ljava/lang/String;Ljava/lang/String;)V

    .line 29
    const-string v0, "device_id"

    invoke-virtual {p1}, Lcom/instagram/android/b/b;->f()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeStringField(Ljava/lang/String;Ljava/lang/String;)V

    .line 30
    const-string v0, "session_id"

    invoke-virtual {p1}, Lcom/instagram/android/b/b;->c()Ljava/util/UUID;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/UUID;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeStringField(Ljava/lang/String;Ljava/lang/String;)V

    .line 31
    const-string v0, "uid"

    invoke-virtual {p1}, Lcom/instagram/android/b/b;->i()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeStringField(Ljava/lang/String;Ljava/lang/String;)V

    .line 33
    const-string v0, "data"

    invoke-virtual {p2, v0}, Lcom/fasterxml/jackson/a/h;->writeFieldName(Ljava/lang/String;)V

    .line 34
    invoke-virtual {p2}, Lcom/fasterxml/jackson/a/h;->getCodec()Lcom/fasterxml/jackson/a/s;

    move-result-object v0

    check-cast v0, Lcom/fasterxml/jackson/databind/ObjectMapper;

    invoke-virtual {p1}, Lcom/instagram/android/b/b;->b()Ljava/util/List;

    move-result-object v1

    invoke-virtual {v0, p2, v1}, Lcom/fasterxml/jackson/databind/ObjectMapper;->writeValue(Lcom/fasterxml/jackson/a/h;Ljava/lang/Object;)V

    .line 36
    const-string v0, "log_type"

    const-string v1, "client_event"

    invoke-virtual {p2, v0, v1}, Lcom/fasterxml/jackson/a/h;->writeStringField(Ljava/lang/String;Ljava/lang/String;)V

    .line 38
    invoke-virtual {p2}, Lcom/fasterxml/jackson/a/h;->writeEndObject()V

    .line 39
    return-void
.end method

.method public synthetic serialize(Ljava/lang/Object;Lcom/fasterxml/jackson/a/h;Lcom/fasterxml/jackson/databind/SerializerProvider;)V
    .locals 0
    .parameter "x0"
    .parameter "x1"
    .parameter "x2"

    .prologue
    .line 13
    check-cast p1, Lcom/instagram/android/b/b;

    .end local p1
    invoke-virtual {p0, p1, p2, p3}, Lcom/instagram/android/b/c;->a(Lcom/instagram/android/b/b;Lcom/fasterxml/jackson/a/h;Lcom/fasterxml/jackson/databind/SerializerProvider;)V

    return-void
.end method
